package com.aaa.demo08;

/**
 * @author 荆豪峰
 * @version 1.0
 */
public class Test08 {
    public void main(String[] args) throws Exception {
        Class<teacher> teacherClass = teacher.class;
        teacher teacher1 = teacherClass.newInstance();

        teacher teacher = new teacher();
        Class<? extends Test08.teacher> aClass = teacher.getClass();

        Class<?> aClass1 = Class.forName("com.aaa.demo08.teacher");
    }
    class teacher{

    }
}
